package com.codeyang.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 描述: TO-删除标志-DO
 * @author CodeYang_Site
 * @version 2021/4/20 15:34
 */
/**
    * 角色和菜单关联表
    */
@Data
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_role_menu")
public class RoleMenu extends BaseEntity {
    /**
     * 角色ID
     */
//    @TableId(value = "role_id", type = IdType.INPUT)
    private Long roleId;

    /**
     * 菜单ID
     */
//    @TableId(value = "menu_id", type = IdType.INPUT)
    private Long menuId;

    public static final String COL_ROLE_ID = "role_id";

    public static final String COL_MENU_ID = "menu_id";
}